﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ERPStore.NewsLetters.Models
{
    /// <summary>
    /// Demande d'envoi d'une newsletter à un destinataire
    /// </summary>
    [DataContract]
    public class PendingItem
    {
        [DataMember]
        public int Id { get; set; }
        [DataMember]
        public int CampaignId { get; set; }
        [DataMember]
        public int EmailRecipientId { get; set; }
        [DataMember]
        public DateTime ScheduledStartDate { get; set; }
        [DataMember]
        public DateTime CreationDate { get; set; }
		[DataMember]
		public ERPStore.Models.MailMessage MailMessage { get; set; }
    }
}
